import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations.js'
import actions from './actions.js'
import getters from './getters.js'

Vue.use(Vuex)
const state ={
    cartList:[],
    // 是否开启请求加载
    isLoading:true
}
const store = new Vuex.Store({
  state,
  mutations,
  actions,
  getters
})
export default store
